<?php

if (!defined('BASEPATH'))
    exit('No direct script access allowed');

class Sales extends Account_Controller {

    function __construct() {
        parent::__construct();
        $this->layout->loadLayout("sales_template");
        $this->load->library('rest_caller');
    }
    
    function index(){
        $this->load->model ( 'products_m' );
        $data['all_products']=$this->products_m->getAllProductAutoComplete();
        $this->layout->view('sales/sale_screen',$data);
    }

}
